Dynamic Binary Translation for SGX Enclaves
نویسندگان
چکیده
Enclaves, such as those enabled by Intel SGX, offer a hardware primitive for shielding user-level applications from the OS. While enclaves are useful starting point, code running in enclave requires additional checks whenever control or data is transferred to/from untrusted The enclave-OS interface on however, can be extremely large if we wish to run existing unmodified binaries inside enclaves. This article presents Ratel , dynamic binary translation engine SGX Linux. offers complete interposition ability interpose all executed instructions and monitor interactions with Instruction-level general foundation implementing variety of inline security monitors thefuture. We take principled approach explaining why challenging. draw attention five design decisions that create fundamental trade-offs between performance ensuring interposition, explain how resolve them favor interposition. To illustrate utility framework, present first attempt compatibility software SGX. report over 200 programs tested, including micro-benchmarks real applications, Linux shell utilities. Runtimes two programming languages, namely, Python R, tested standard benchmarks work out-of-the-box without any specialized handling.
منابع مشابه
Migrating SGX Enclaves with Persistent State
Hardware-supported security mechanisms like Intel Software Guard Extensions (SGX) provide strong security guarantees, which are particularly relevant in cloud settings. However, their reliance on physical hardware conflicts with cloud practices, like migration of VMs between physical platforms. For instance, the SGX trusted execution environment (enclave) is bound to a single physical CPU. Alth...
متن کاملRobust Synchronous P2P Primitives Using SGX Enclaves
Peer-to-peer (P2P) systems such as BitTorrent and Bitcoin are susceptible to serious attacks from byzantine nodes that join as peers. Due to well-known impossibility results for designing P2P primitives in unrestricted byzantine settings, research has explored many adversarial models with additional assumptions, ranging from mild (such as pre-established PKI) to strong (such as the existence of...
متن کاملAsyncShock: Exploiting Synchronisation Bugs in Intel SGX Enclaves
Intel’s Software Guard Extensions (SGX) provide a new hardware-based trusted execution environment on Intel CPUs using secure enclaves that are resilient to accesses by privileged code and physical attackers. Originally designed for securing small services, SGX bears promise to protect complex, possibly cloud-hosted, legacy applications. In this paper, we show that previously considered harmles...
متن کاملPanoply: Low-TCB Linux Applications With SGX Enclaves
Intel SGX, a new security capability in emerging CPUs, allows user-level application code to execute in hardwareisolated enclaves. Enclave memory is isolated from all other software on the system, even from the privileged OS or hypervisor. While being a promising hardware-rooted building block, enclaves have severely limited capabilities, such as no native access to system calls and standard OS...
متن کاملDynamic Binary Translation
This paper presents an overview of dynamic binary translation. Dynamic binary translation is the process of translating code for one instruction set architecture to code for another on the fly, i.e., dynamically. Dynamic binary translators are used for emulation, migration, and recently for the economic implementation of complex instruction set architectures. Most of the problems occuring in dy...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: ACM transactions on privacy and security
سال: 2022
ISSN: ['2471-2574', '2471-2566']
DOI: https://doi.org/10.1145/3532862